package sjtu.ist.warehouse4ws.model;



/**
 * CustRolepermissions entity. @author MyEclipse Persistence Tools
 */

public class CustRolepermissions  implements java.io.Serializable {


	// Fields

	private Integer id;
	private String permissionid;
	private String roleid;
	private String groupId;
	private String versionId;

	// Constructors

	/** default constructor */
	public CustRolepermissions() {
	}

	/** minimal constructor */
	public CustRolepermissions(String permissionid, String roleid) {
		
		this.permissionid = permissionid;
		this.roleid = roleid;
	}

	/** full constructor */
	public CustRolepermissions(Integer id, String permissionid, String roleid,
			String groupId, String versionId) {
		this.id = id;
		this.permissionid = permissionid;
		this.roleid = roleid;
		this.groupId = groupId;
		this.versionId = versionId;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPermissionid() {
		return this.permissionid;
	}

	public void setPermissionid(String permissionid) {
		this.permissionid = permissionid;
	}

	public String getRoleid() {
		return this.roleid;
	}

	public void setRoleid(String roleid) {
		this.roleid = roleid;
	}

	public String getGroupId() {
		return this.groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getVersionId() {
		return this.versionId;
	}

	public void setVersionId(String string) {
		this.versionId = versionId;
	}
}